package com.pingan.agentbank.aaos.util;

import com.pingan.vframe.util.JaDateTime;

import java.text.SimpleDateFormat;
import java.util.Date;

public class JaDateTimeUtil {

    public static JaDateTime getCurrentJaDateTime(){

        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMdd HHmmss");
        String date = simpleDateFormat.format(new Date());
        JaDateTime jaDateTime = JaDateTime.valueOf(date);
        return jaDateTime;
    }
}
